<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>css的继承问题</title>
		<style>
			div#d1{
				font-size: 50px;
				color: yellow;
			}
		</style>
		<script src="../js/jquery-3.6.3.min.js"></script>
		<script>
			$(function(){
				$("#d2").click(function(){
					alert("d2 div");
				});
				$("#s3").click(function(){
					alert("s3 span");
					return false;
				});
			});
		</script>
	</head>
	<body>
		<div id="d1">
			<span>你好，我是渣画质</span>
			<a href="#">淘宝</a>
		</div>
		<div id="d2">
			<span id="s3">大扎好，沃斯渣渣灰</span>
		</div>
	</body>
</html>